package com.jymj.dao;

import com.jymj.entity.TdlyEntity;
import com.jymj.entity.data.KxTxHzEntity;
import com.jymj.entity.data.XzDataEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * Created by ljj on 2017/3/17.
 */
@Mapper
public interface LandDao {

    TdlyEntity getTdlyByPoint(Map map);

    List<TdlyEntity> getTdlyQueryFrame(Map map);

    List<TdlyEntity> getTdlyListExcel(Map map1);

    Integer getTdlyListCount(Map map);

    XzDataEntity getXzData(@Param("sql") String sql);

    List<KxTxHzEntity> getTxKxHz(Map map);

    XzDataEntity getXzDataBycode(Map map);

    List<TdlyEntity> queryTdly(Map map);

    List<TdlyEntity> getTdlyList(Integer objectid);

    List<TdlyEntity> getFeiKxTxHz(Map<String, Object> map);

    /**
     * 获取坐标文本转换后的字符串
     *
     * @param points
     * @return
     */
    String getTransformStr(String points);

    BigDecimal getArea(Map<String, Object> map);

    int queryIstrue(Map map);
}
